package com.yr.ryjk.doctor.entity;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;

import com.yr.ryjk.common.Constant;
/**
 * 医生注册信息
 * @author Rick
 *
 */
public class DoctorRegister {
    private String id;

    @NotBlank
    private String hospital;

    @NotBlank
    private String department;

    @NotBlank
    private String duty;

    @NotBlank
    private String phone;

    private String password;

    @NotBlank
    private String realName;

    private int gender;

    @DateTimeFormat(pattern=Constant.DATE_FORMAT_YEAR)
    private Date birthday;

    private int workStartYear;

    private String goodAt;

    private String halfPicUrl;

    private String cardUrl;

    private String workProofPicUrl;

    private int registerProgress;

    private Date registerTime;

    private int askPrice;

    private int checkStatus;

    private String checkDesc;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getHospital() {
		return hospital;
	}

	public void setHospital(String hospital) {
		this.hospital = hospital;
	}

	public void setDepartment(String department) {
		this.department = department;
	}
	public String getDepartment() {
		return department;
	}
	public void setDuty(String duty) {
		this.duty = duty;
	}
	public String getDuty() {
		return duty;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public int getWorkStartYear() {
		return workStartYear;
	}

	public void setWorkStartYear(int workStartYear) {
		this.workStartYear = workStartYear;
	}

	public String getGoodAt() {
		return goodAt;
	}

	public void setGoodAt(String goodAt) {
		this.goodAt = goodAt;
	}

	public String getHalfPicUrl() {
		return halfPicUrl;
	}

	public void setHalfPicUrl(String halfPicUrl) {
		this.halfPicUrl = halfPicUrl;
	}

	public String getCardUrl() {
		return cardUrl;
	}

	public void setCardUrl(String cardUrl) {
		this.cardUrl = cardUrl;
	}

	public String getWorkProofPicUrl() {
		return workProofPicUrl;
	}

	public void setWorkProofPicUrl(String workProofPicUrl) {
		this.workProofPicUrl = workProofPicUrl;
	}

	public int getRegisterProgress() {
		return registerProgress;
	}

	public void setRegisterProgress(int registerProgress) {
		this.registerProgress = registerProgress;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public Integer getAskPrice() {
		return askPrice;
	}

	public void setAskPrice(Integer askPrice) {
		this.askPrice = askPrice;
	}

	public int getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(int checkStatus) {
		this.checkStatus = checkStatus;
	}

	public String getCheckDesc() {
		return checkDesc;
	}

	public void setCheckDesc(String checkDesc) {
		this.checkDesc = checkDesc;
	}
}